package com.timber.util;

import java.io.*;

public class SLEvent implements Serializable {

  public final static int INFO    = 0;
  public final static int DEBUG   = 1;
  public final static int WARNING = 2;
  public final static int ERROR   = 3;
  public final static int FAILURE = 4;

  public SLEvent() {
  }
  private void readObject(ObjectInputStream ois) throws ClassNotFoundException, IOException {
    ois.defaultReadObject();
  }
  private void writeObject(ObjectOutputStream oos) throws IOException {
    oos.defaultWriteObject();
  }
  public void setSystemID(String systemID) {
    this.systemID = systemID;
  }
  public String getSystemID() {
    return systemID;
  }
  public void setProcessID(String processID) {
    this.processID = processID;
  }
  public String getProcessID() {
    return processID;
  }
  public void setCode(String code) {
    this.code = code;
  }
  public String getCode() {
    return code;
  }
  public void setMessage(String message) {
    this.message = message;
  }
  public String getMessage() {
    return message;
  }
  public void setLevel(int newLevel) {
    this.level = newLevel;
  }
  public int getLevel() {
    return level;
  }
  public void setStatus(String status) {
    this.status = status;
  }
  public String getStatus() {
    return status;
  }
  public void setDetail(java.util.HashMap detail) {
    this.detail = detail;
  }
  public java.util.HashMap getDetail() {
    if(detail==null) detail= new java.util.HashMap();
    return detail;
  }
  public void setTimeStamp(java.util.Date timeStamp) {
    this.timeStamp = timeStamp;
  }
  public java.util.Date getTimeStamp() {
    return timeStamp;
  }
  public void setClassName(String className) {
    this.className = className;
  }
  public String getClassName() {
    return className;
  }
  public void setUserUpdated(String userUpdated) {
    this.userUpdated = userUpdated;
  }
  public String getUserUpdated() {
    return userUpdated;
  }
  public void setDateUpdated(java.util.Date dateUpdated) {
    this.dateUpdated = dateUpdated;
  }
  public java.util.Date getDateUpdated() {
    return dateUpdated;
  }
  public void setEventID(int eventID) {
    this.eventID = eventID;
  }
  public int getEventID() {
    return eventID;
  }
  public void setAmendments(int amendments) {
    this.amendments = amendments;
  }
  public int getAmendments() {
    return amendments;
  }
  public void setLockUser(String lockUser)
  {
    this.lockUser = lockUser;
  }
  public String getLockUser()
  {
    return lockUser;
  }
  private String systemID;
  private String processID;
  private String code;
  private String message;
  private String status;
  private java.util.HashMap detail;
  private java.util.Date timeStamp;
  private String className;
  private String userUpdated;
  private java.util.Date dateUpdated;
  private int eventID;
  private int level;
  private int amendments;
  private String lockUser;

}